home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Medal Software 3
/
Gold Medal Software - Volume 3 (Gold Medal) (1994).iso
/
bbsutils
/
ppemnu10.arj
/
PPEMENU.PPE
(
.txt
)
< prev
next >
Wrap
PCBoard Programming Language Executable
|
1994-02-28
|
2KB
|
126 lines
;------------------------------------------------------------------------------
; .ss.
; `²²'
; .,sS$Ss,,s$ .,sS$$$Ss. .,sS$Ss,,s$ .ss. .sSs.
; .d$$²^°²$$$$'.d$P²°^^²$P'.d$$²^°²$$$$'.$$$' .$$$²Sb,.
; $$$' .$$$' $$$²Sçsµ²' .$$$' .$$$'.$$$' .$$$' `$$b.
; $$$b,,d$$$' ,$$$b,....,s$$$$b,,d$$$'.$$$;.,$$$' ;$$$
; `²S$$S²²S$$S²°²S$$$$S²°°²S$$$$$$',$$S²°²S$S'.sS$$$P²'
; .sS²°$$$²²°"' d²°'
; .$$² .$$'
; $$$.,d$$'
; `²S$$S²'
;------------------------------------------------------------------------------
; P.P.L.X. 2.OO (C)1996 - Lone Runner / AEGiS CoRP'96
;------------------------------------------------------------------------------
; PPE 2.OO (plain) - Analysis ON - Postprocessing ON
;------------------------------------------------------------------------------
String STRING001
;------------------------------------------------------------------------------
If (Exist(PPEPath() + "PPEMENU.CFG")) Then
Goto LABEL001
End
Else
Goto LABEL006
Endif
End
:LABEL001
If (Exist(PPEPath() + "MENU")) Then
DispStr "%" + PPEPath() + "MENU"
InputStr "(@X0C@MINLEFT@ @X0Emin left) <CR>=Quit Enter selection", STRING001, 14, 2, "0123456789", 256 + 8 + 2
Goto LABEL002
End
Else
Goto LABEL005
Endif
End
:LABEL002
If (STRING001 == Chr(13)) Then
Goto LABEL008
Else
Goto LABEL003
Endif
End
:LABEL003
If (Exist(ReadLine(PPEPath() + "PPEMENU.CFG", STRING001))) Then
Goto LABEL004
End
ElseIf (STRING001 == "") Then
End
Else
Goto LABEL007
Endif
End
:LABEL004
DispStr "!" + ReadLine(PPEPath() + "PPEMENU.CFG", STRING001)
Call PPEPath() + "PPEMENU.PPE"
End
:LABEL005
PrintLn "@BEEP@@X5D┌───────────────────────────────────────────────────────@X50┐@X00@X01"
PrintLn "@X5D│ @X5FERROR, FILENAME '@X5EMENU@X5F' NOT FOUND IN PPEMENU DIRECTORY @X50│@X01"
PrintLn "@X5D│ @X5FEITHER PLACE THE FILE IN PROPER DIRECTORY OR CREATE @X50│@X01"
PrintLn "@X5D│ @X5FA NEW 'MENU' FILE AND PLACE IT IN PPEMENU DIRECTORY! @X50│@X01"
PrintLn "@X5D└@X50───────────────────────────────────────────────────────┘@X01"
End
:LABEL006
PrintLn "@BEEP@@X4C┌──────────────────────────────────────────────────────────@X40┐@X01"
PrintLn "@X4C│ @X4FERROR FINDING @X4FPPEMENU CONFIGURATION FILE! CHECK TO MAKE @X40│@X01"
PrintLn "@X4C│ @X4FSURE THAT @X4EPPEMENU.CFG @X4FIS IN YOUR PPEMENU DIRECTORY AND @X40│@X01"
PrintLn "@X4C│ @X4FRERUN PROGRAM! OR REFER TO DOCS TO CREATE NEW .CFG FILE! @X40│@X01"
PrintLn "@X4C└@X40──────────────────────────────────────────────────────────┘@X01"
End
:LABEL007
PrintLn "@X0C@BEEP@You have entered an invalid selection!"
:LABEL008
End
;------------------------------------------------------------------------------
;
; Usage report (before postprocessing)
;
; ■ Statements used :
;
; 12 End
; 18 Goto
; 11 PrintLn
; 5 If
; 1 InputStr
; 1 Call
; 2 DispStr
;
;
; ■ Functions used :
;
; 10 +
; 2 ==
; 5 !
; 1 Chr()
; 6 PPEPath()
; 2 ReadLine()
; 3 Exist()
;
;------------------------------------------------------------------------------
;
; Analysis flags : C
;
; C - Call child PPE ■ 3
; This is usually normal, but may be a tricky way to launch some
; sysop-only commands.
; ■ Search for : CALL
;
;------------------------------------------------------------------------------
;
; Postprocessing report
;
; 0 For/Next
; 0 While/EndWhile
; 5 If/Then or If/Then/Else
; 0 Select Case
;
;------------------------------------------------------------------------------
; AEGiS Corp - Break the routines, code against the machines!
;------------------------------------------------------------------------------